projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5aba05
)
Bug 658398 - Use of uninitialized variable reported by Valgrind
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 7 Sep 2011 20:19:44 +0000
(16:19 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 7 Sep 2011 20:19:44 +0000
(16:19 -0400)
Fix it.
gtk/gtkselection.c
patch
|
blob
|
history
diff --git
a/gtk/gtkselection.c
b/gtk/gtkselection.c
index 7fbc996d4a8a49f4ca9e9bf90cb0b597d1a52281..9e2295f780a4a9834dd6e8f3a2b8d01da7e40cfd 100644
(file)
--- a/
gtk/gtkselection.c
+++ b/
gtk/gtkselection.c
@@
-1097,11
+1097,10
@@
gtk_selection_convert (GtkWidget *widget,
{
GtkWidget *owner_widget;
gpointer owner_widget_ptr;
- GtkSelectionData selection_data;
+ GtkSelectionData selection_data
= {0}
;
selection_data.selection = selection;
selection_data.target = target;
- selection_data.data = NULL;
selection_data.length = -1;
selection_data.display = display;